package com.wanboedu.mapper;

import com.github.pagehelper.Page;
import com.wanboedu.dto.InvoiceDTO;
import com.wanboedu.vo.InvoiceVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InvoiceMapper {
    void submit(InvoiceDTO invoiceDTO);

    Page<InvoiceDTO> getList(InvoiceDTO invoiceDTO);

    void delete(Integer id);

    List<InvoiceVO> getAllList();

    List<InvoiceVO> getdateValue();

    Double getAllvalue(String createTime);

    Integer getTypeCount(String type);

    Double getSellerCount(String sellerName);
}
